package com.smz.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.smz.entity.TLogistics;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.apache.ibatis.annotations.Param;


public interface TLogisticsDAO extends BaseMapper<TLogistics> {

    IPage<TLogistics> findTLogisticsPage(Page<TLogistics> tLogisticsPage);

    IPage<TLogistics> findTLogisticsPageName(Page<TLogistics> tLogisticsPage,@Param("logisticsName") String logisticsName);

    IPage<TLogistics> findTLogisticsPageLogisticsId(Page<TLogistics> tLogisticsPage,@Param("logisticsId") int logisticsId);
}
